package com.zbkj.crmeb.pdd.request;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 * 拼多多商品信息
 * @author daigb
 * @date:  2022-11-29 14:44
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SyPddGoodsAddRequest implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@NotNull(message = "主商品id不能为空")
	@ApiModelProperty(value = "商品id")
	private Integer id;
	
	@NotNull(message = "商品标题不能为空")
	@ApiModelProperty(value = "商品标题")
	private String storeName;
	
	@NotNull(message = "类目不能为空")
	@ApiModelProperty(value = "类目id")
	private Long catId;
	
	@NotNull(message = "运费模板不能为空")
	@ApiModelProperty(value = "运费模板")
	private Long costTemplateId;
	
	@NotNull(message = "国家id不能为空")
	@ApiModelProperty(value = "国家")
	private Integer countryId;
	
	@NotNull(message = "商品类型不能为空")
	@ApiModelProperty(value = "商品类型")
	private Integer goodsType;
	
	@ApiModelProperty(value = "发货时效")
	private Long shipmentLimitSecond;
	
	@NotNull(message = "参考价格不能为空(不能高于最高规格5倍)")
	@ApiModelProperty(value = "参考价格")
	private Long marketPrice;
	
	@NotNull(message = "是否预售不能为空")
	@ApiModelProperty(value = "是否预售")
	private Boolean isPreSale;
	
	@ApiModelProperty(value = "预售时间is_pre_sale为true时必传")
	private Long preSaleTime;
	
	// goods_type=3 时必填
	@ApiModelProperty(value = "保税仓")
	private String warehouse;
	
	@ApiModelProperty(value = "满两件打折比例")
	private Integer twoPiecesDiscount;
	
	@ApiModelProperty(value = "商品属性")
	private List<SyPddGoodsPropertyRequest> goodsPropertys;
	
	@ApiModelProperty(value = "sku属性")
	private List<SyPddSkuListItemRequest> items;
	
	

}
